<template>
    <el-main>
    </el-main>
</template>
<script>
import {getDeptListApi} from '@/api/department'
export default {
    data() {
        //存储部门列表数据
        tableList: [],
        //存储搜索关键字数据域
        parms: {
            searchName: "",
        }  
    },
    created(){
        getDeptList()
    },
    methods:{
        async getDeptList(){
            let res = await getDeptListApi()
            console.log(res)
        }
    }
}
</script>
<style lang="scss">

</style>